<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            border:5px solid red;
            width:300px;
            /* 表格的边框线合并 */
            border-collapse:collapse;
            /* auto 自动 默认 */
            /* fixed 固定 + width */
            table-layout: fixed;
        }
        th{
            border:1px solid  blue;
        }
        td{
            border:1px solid  pink;
            text-align: center;
        }
    </style>
</head>
<body>
    <!-- table 表格
    tr 行
    td/th(加粗,居中) 单元格 
    thead 表格头
    tbody 表格体
    tfoot 表格尾
    caption 表格标题(居中)
   -->
    <!-- <table border="1" cellpadding="10" cellspacing="20"> -->
    <table>
        <caption>表格标题</caption>
        <thead>
            <tr>
                <th>编号</th>
                <th>姓名</th>
                <th>年龄</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1111111111111111</td>
                <td>2</td>
                <td>3</td>
            </tr>
            <tr>
                <td>1</td>
                <td>2</td>
                <td>3</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>0</td>
                <td>0</td>
                <td>0</td>
            </tr>
        </tfoot>
    </table>
</body>
</html>